Minimum Cost To Cut Stick | Rod Cutting Problem | Leetcode 1547 | Coding Ninjas